package com.mohan.util;

import java.util.List;

import com.mohan.pojo.Content;

public class ArticleRep {
	/**
	 * articleid:文章id
	 * author:文章作者
	 * book:文章出自的书名
	 * dynasty:文章朝代
	 * articleprofile:文章简介
	 * tags:文章标签
	 * style:文章风格
	 * type:文章类型(0--古体诗,1--五言绝句,2--七言绝句,3--五言律诗,4--七言律诗,5--词,6--曲,7--长文,8--现代诗)
	 * loves:获赞次数
	 * analysis:文章解析
	 * contentids:文章的段id列表
	 * commentids:文章评论的id列表
	 * bookid:文章出自书的id
	 * userid:上传文章的用户id
	 * examine:文章审核状态(0--未审核，1--正在审核，2--审核通过)
	 * articlestatus:文章的状态(0--草稿；1--发布)
	 * recommend:文章的推荐情况(0--没有推荐；1--推荐到公众号；2--推荐到小程序)
	 * isopen:是否公开(0--不公开，仅自己可见；1--公开，所有人可见)
	 */
	private int articleId;
	private String author;
	private String book;
	private String dynasty;
	private String articleProfile;
	private String tags;
	private String style;
	private int type;
	private int loves;
	private String analysis;
	private List<ContentRep> contents;
	private List<CommentRep> comments;
	private int bookId;
	private String userid;
	private int examine;
	private int articleStatus;
	private int recommend;
	private int isOpen;
	private String title;
	public int getArticleId() {
		return articleId;
	}
	public void setArticleId(int articleId) {
		this.articleId = articleId;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getBook() {
		return book;
	}
	public void setBook(String book) {
		this.book = book;
	}
	public String getDynasty() {
		return dynasty;
	}
	public void setDynasty(String dynasty) {
		this.dynasty = dynasty;
	}
	public String getArticleProfile() {
		return articleProfile;
	}
	public void setArticleProfile(String articleProfile) {
		this.articleProfile = articleProfile;
	}
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public String getStyle() {
		return style;
	}
	public void setStyle(String style) {
		this.style = style;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getLoves() {
		return loves;
	}
	public void setLoves(int loves) {
		this.loves = loves;
	}
	public String getAnalysis() {
		return analysis;
	}
	public void setAnalysis(String analysis) {
		this.analysis = analysis;
	}
	public List<ContentRep> getContents() {
		return contents;
	}
	public void setContents(List<ContentRep> contents) {
		this.contents = contents;
	}
	public List<CommentRep> getComments() {
		return comments;
	}
	public void setComments(List<CommentRep> comments) {
		this.comments = comments;
	}
	public int getBookId() {
		return bookId;
	}
	public void setBookId(int bookId) {
		this.bookId = bookId;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public int getExamine() {
		return examine;
	}
	public void setExamine(int examine) {
		this.examine = examine;
	}
	public int getArticleStatus() {
		return articleStatus;
	}
	public void setArticleStatus(int articleStatus) {
		this.articleStatus = articleStatus;
	}
	public int getRecommend() {
		return recommend;
	}
	public void setRecommend(int recommend) {
		this.recommend = recommend;
	}
	public int getIsOpen() {
		return isOpen;
	}
	public void setIsOpen(int isOpen) {
		this.isOpen = isOpen;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
}
